begintownscript;
variables;
short choice,i;

body;
beginstate init_state;
i = 0;
while(char_ok(i) == 0){
	i = i + 1;
}
set_ticks_forward(get_current_tick() - 3750);
set_character_facing(i,6);
force_instant_terrain_redraw();
message_dialog("The backwoods trail I'd followed in pursuit of the bandits had taken me within half a mile of the Gray Road, near the south gate of Cigosal. It was growing dark by then, and I couldn't bear to stay the night in the Chapel.","I knew I should have stopped at the city to sleep-- it'd been a long day and both my mind and body were exhausted-- but for some reason I knew I wouldn't be able to relax until I'd brought the star back to the Chapel.");
message_dialog("_Sounds silly, doesn't it?_","");
set_character_pose(8,14);
set_name(8,"???");
set_name(6,"Adrianna");
set_char_dialogue_pic(6,302,0);
break;

beginstate exit_state;
break;

beginstate start_state;
break;

beginstate 10;
block_entry(1);
message_dialog("I really would rather put that bandit mess behind me....","");
break;

beginstate 11;
block_entry(1);
message_dialog("It was tempting to go in search of a room for the night, but I knew that I would be restless until I put that emblem back in its place. I don't know why, but it seemed important to me.","");
break;

beginstate 12;
if(get_flag(7,0) == 0){
	set_flag(7,0,1);
	reset_dialog();
	add_dialog_str(0,"I had just spotted the Gray Road, which meant it would be easy traveling from there to the Chapel. I might make it before night truly settled in. Those thoughts fled though the instant I saw who was standing in the road.",0);
	add_dialog_str(1,"There was a white-robed woman tending a tired carthorse. For a moment I thought I was seeing ghosts.",0);
	add_dialog_choice(0,"...... Adrianna?");
	choice = run_dialog(1);

	message_dialog("I couldn't even form the words at first, but finally I gasped her name. She started, and turned from her work. I hardly dared to breath lest she disappear like the rest.","But it really was her.");
	message_dialog("We stood staring at each other, she wearing her Order robes stained by dirt and travel, I wearing my blood stained cloak. We were frozen like that for what seemed like minutes before we simultaneously rushed forward to embrace.","");
}
break;

beginstate 13;
block_entry(1);
if(get_flag(7,0) != 2)
	message_dialog("Until a minute ago I thought Adrianna was dead, I wasn't THAT set on getting to the Chapel.","");
else{
	set_character_facing(i,0);
	move_to_new_town(4,23,39);
}
break;

beginstate 100;
block_entry(1);
break;